package com.beiben.work.process.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Arrays;
import java.util.Date;

/**
 * @Description:
 * @Author: Peate
 * @Date: Created in 2020-08-31 15:23
 * @Version 1.0
 * @Modified By:
 */
public class FileProcessFinishedVm extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 任务ID
     */
    private Long workId;
    /**
     * 实际任务完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际任务完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date realFinishTime;

    /**
     * 主键IDs
     */
    private Long[] itemIds;

    private Long itemId;

    private String state;

    public Long getWorkId() {
        return workId;
    }

    public void setWorkId(Long workId) {
        this.workId = workId;
    }

    public Date getRealFinishTime() {
        return realFinishTime;
    }

    public void setRealFinishTime(Date realFinishTime) {
        this.realFinishTime = realFinishTime;
    }

    public Long[] getItemIds() {
        return itemIds;
    }

    public void setItemIds(Long[] itemIds) {
        this.itemIds = itemIds;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    @Override
    public String toString() {
        return "FileProcessFinishedVm{" +
                "workId=" + workId +
                ", realFinishTime=" + realFinishTime +
                ", itemIds=" + Arrays.toString(itemIds) +
                '}';
    }
}
